﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.UI.Views
{
    /// <summary>
    /// 场景有更新的事件
    /// </summary>
    public class SceneUpdateEvent
    {
        public ScenePart Scene { get; private set; }

        /// <summary>
        /// 场景更新的原因
        /// </summary>
        public SceneUpdateReason Reason { get; private set; }

        public SceneUpdateEvent(ScenePart scene, SceneUpdateReason reason)
        {
            Scene = scene;
            this.Reason = reason;
        }
    }

    public enum SceneUpdateReason
    {
        /// <summary>
        /// 打开场景
        /// </summary>
        Open,
        /// <summary>
        /// 移动视角
        /// </summary>
        MoveCamera,
        /// <summary>
        /// 重置场景
        /// </summary>
        ResetScene,
        ///// <summary>
        ///// 移动区域
        ///// </summary>
        //MoveArea,
    }
}
